Backwards compatible, extended method to execute check number calculation of IMEI

ABSTRACT

A method is taught to provide an improved mobile station International Mobile Equipment Identity (IMEI) code having at least a six digit hexadecimal SNR representation, in conjunction with modifying a Check Digit calculation procedure so as to insure backwards compatibility with an existing installed base of mobile stations having a six digit BCD SNR representation.

CLAIM OF PRIORITY FROM A COPENDING PROVISIONAL PATENT APPLICATION

[0001] Priority is herewith claimed under 35 U.S.C. §119(e) from copending Provisional Patent Application No. 60/183,279, filed Feb. 17, 2000. The disclosure of this Provisional Patent Application is incorporated by reference herein in its entirety.

FIELD OF THE INVENTION

[0002] This invention relates generally to mobile stations, including cellular telephones and personal communicators, and more particularly relates to techniques for uniquely identifying a particular mobile station.

BACKGROUND OF THE INVENTION

[0003] In the GSM system a 14 digit International Mobile station Equipment Identity (IMEI) code is defined to be stored in the mobile station. The value of the IMEI is intended to be unique for each mobile station, and is fixed during the manufacturing process. An associated check digit is calculated by a Luhn Algorithm (ISO/IEC 7812).

[0004] The IMEI is typically employed by the network operator to insure the validity of the mobile station, and the network operator will refuse service to a mobile station that does not have a valid IMEI. A purpose of the IMEI is to obtain information on the use of Public Land Mobile Network (PLMN) by subscribers for individual charging purposes.

[0005] As currently specified, the IMEI includes a six digit binary coded decimal (BCD) serial number (SNR) field, as well as a six digital type approval code (TAC) and a two digit final assembly code (FAC). However, with the explosive growth in mobile station usage, the six digits of the SNR field becomes insufficient for uniquely identifying mobile stations for large production volumes.

OBJECTS AND ADVANTAGES OF THE INVENTION

[0006] It is thus an object and advantage of this invention to provide an improved mobile station IMEI and a corresponding modification to the procedure for calculating the check digit.

[0007] It is another object and advantage of this invention to provide an improved mobile station IMEI having at least a six digit hexadecimal SNR representation, in conjunction with a check digit calculation procedure, so as to insure backwards compatibility with the existing installed base of mobile stations having the six digit BCD SNR representation.

SUMMARY OF THE INVENTION

[0008] The foregoing and other problems are overcome and the objects and advantages are realized by methods and apparatus in accordance with embodiments of this invention.

[0009] A method is disclosed to provide an improved mobile station International Mobile Equipment Identity (IMEI) code having at least a six digit hexadecimal SNR representation, in conjunction with modifying a check digit calculation procedure so as to insure backwards compatibility with an existing installed base of mobile stations having six digit BCD SNR representation.

[0010] A method is disclosed for operating a mobile station to provide the IMEI with at least a hexadecimal SNR field, and to then modify the check digit calculating procedure so that hexadecimal digits A, B, C, D, E and F are first converted to decimal digits 10, 11, 12, 13, 14 and 15, respectively, and to then compute the check bit using the original check bit calculation algorithm (Luhn Algorithm).

[0011] Alternatively, the Luhn Algorithm may be modified to use base 16 for all calculations to derive a base 16 check digit.

[0012] In a more preferred embodiment of this invention all 14 digits of the IMEI are stored in a hexadecimal representation, and the calculation of the check digit is performed over all of the 14 hexadecimal digits.

[0013] Further in accordance with this aspect of these teachings, a method is disclosed for use with a mobile station of a type that stores a 14 digit International Mobile Equipment Identity (IMEI) code for generating a Check Digit (CD). The method includes executing a preliminary step of encoding the 14 digit (D1, D2, D3, . . . , D14) IMEI in a hexadecimal representation. The method continues by computing the CD by steps of: (A) doubling the values of the odd digits (D1, D3, D5, . . . , D13) of the IMEI using the hexadecimal number base; (B) adding together the individual digits of the seven numbers obtained in Step A, and adding this sum to the sum of all of the even labeled digits (D2, D4, D6, . . . , D14) of the IMEI using the hexadecimal number base; and (C) if the number obtained at the end of Step B ends in zero (0), setting the CD to zero (0), else if the number obtained at the end of Step B does not end in zero (0), setting the CD to be the difference between that number subtracted from the next highest hexadecimal number which does end in zero (0).

[0014] This method works indiscriminately with mobile stations using a hexadecimal IMEI representation and with mobile stations using a BCD IMEI representation, thereby ensuring backwards compatibility with an installed base of mobile stations using the BCD IMEI representation.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above set forth and other features of the invention are made more apparent in the ensuing Detailed Description of the Invention when read in conjunction with the attached Drawings, wherein:

[0016]FIG. 1 is a block diagram of a mobile station that is suitable for practicing this invention;

[0017]FIG. 2 is an elevational view of the mobile station shown in FIG. 1, and which further illustrates a wireless communication system and a service provider to which the mobile station is bidirectionally coupled through wireless RF links;

[0018]FIG. 3 shows the composition of the IMEI in accordance with these teachings;

[0019]FIG. 4 is a logic flow diagram showing a method in accordance with the invention; and

[0020]FIG. 5 presents an example of the calculation of the Check Digit in accordance with the method shown in FIG. 4, and further in accordance with the teachings of this invention.

DETAILED DESCRIPTION OF THE INVENTION

[0021] Reference is made to FIGS. 1 and 2 for illustrating a radiotelephone, also referred to herein as a wireless mobile station 10, that is suitable for practicing this invention. The mobile station 10 may be, but is not limited to, a cellular telephone or a personal communicator. The mobile station 10 includes an antenna 12 for transmitting signals to and for receiving signals from a base site or base station 30. The base station 30 may be a part of a network comprising a Base Station/Mobile Switching Center/Interworking function (BMI) 32 that includes a mobile switching center (MSC) 34. The MSC 34 provides a connection to landline trunks when the mobile station 10 is involved in a call.

[0022] The mobile station includes a modulator (MOD) 14A, a transmitter 14, a receiver 16, a demodulator (DEMOD) 16A, and a controller 18 that provides signals to and receives signals from the transmitter 14 and receiver 16, respectively. These signals include signaling information in accordance with the air interface standard of the applicable cellular system, and also user speech and/or user generated data. While the teachings of this invention can be readily applied to GSM-type TDMA mobile stations, these teachings could applied as well to code division/multiple access (CDMA) and other type of systems.

[0023] It is understood that the controller 18 also includes the circuitry required for implementing the audio (speech path) and logic functions of the mobile station. By example, the controller 18 may be comprised of a digital signal processor device, a microprocessor device, and various analog to digital converters, digital to analog converters, and other support circuits. The control and signal processing functions of the mobile station are allocated between these devices according to their respective capabilities.

[0024] A user interface includes a conventional earphone or speaker 17, a conventional microphone 19, a display 20, and a user input device, typically a keypad 22, all of which are coupled to the controller 18. The keypad 22 includes the conventional numeric (0-9) and related keys (#,*) 22 a, and other keys 22 b used for operating the mobile station 10. These other keys 22 b may include, by example, a SEND key, various menu scrolling and soft keys, and a PWR key.

[0025] The mobile station 10 also includes a removable battery 26 for powering the various circuits that are required to operate the mobile station.

[0026] The mobile station 10 also includes various memories, shown collectively as the memory 24, wherein are stored a plurality of constants and variables that are used by the controller 18 during the operation of the mobile station. For example, the memory 24 stores the values of wireless system parameters and the number assignment module (NAM). An operating program for controlling the operation of controller 18 is also stored in the memory 24 (typically in a ROM device). The operating program in the memory 24 includes routines to present messages and message-related functions to the user on the display 20, typically as various menu items.

[0027] The memory 24 is assumed to store the IMEI, and to be capable of transmitting the IMEI to the network, where a unit 35 operates to calculate the Check Digit (CD) in accordance with a method that is explained below and shown by example.

[0028] In accordance with the teachings herein the IMEI is modified so as to have at least a six digit hexadecimal (base 16) SNR representation, and the procedure executed by the unit 35 is modified to utilize the Luhn Algorithm so as to insure backwards compatibility with the existing installed base of mobile stations, having the six digit BCD SNR representation.

[0029] More particularly, the check digit calculating procedure is modified so that hexadecimal digits A, B, C, D, E and F are first converted to decimal digits 10, 11, 12, 13, 14 and 15, respectively, and the unit 35 then computes the check bit using the original check bit calculation algorithm (Luhn Algorithm).

[0030] Alternatively, the Luhn Algorithm may be modified to use base 16 for all calculations to derive a base 16 check digit.

[0031] Referring to FIG. 3, in accordance with the teachings herein, in a presently preferred embodiment the IMEI is modified to include a six digit hexadecimal Type Approval Code (TAC) field, which is issued by a central body, a two digit hexadecimal Final Assembly Code (FAC) field, which is encoded by the manufacturer, and a six digit hexadecimal Serial Number (SNR) field, which is assigned by the manufacturer to mobile stations in sequential order. An IMEISV is formed by concatenating the foregoing three fields with a two digit hexadecimal Software Version Number (SVN) field. The IMEI is complemented by a Check Digit. A modulus 16 Luhn Check Digit (CD) is computed over the 14-most significant hexadecimal digits of the IMEISV, that is, on the TAC, FAC and SNR fields, and not on the SVN field of the IMEISV.

[0032] The method for computing the Luhn check digit is defined in Annex B of the International Standard “Identification cards-Numbering system and registration procedure for issuer identifiers” (ISO/IEC 7812), incorporated by reference herein in its entirety. In accordance with an aspect of these teachings, the modulus 16 Luhn Check Digit is identical to the conventional procedure, except that the number base is transformed from base 10 to base 16.

[0033] An IMEI digit (D) labeling convention, excluding the SVN, is as follows:

[0034] TAC=D14 D13 . . . D9 (D9 is the least significant digit of TAC)

[0035] FAC=D8 D7 (D7 is the least significant digit of FAC)

[0036] SNR=D6 D5 . . . D1 (D1 is the least significant digit of SNR)

[0037] It should be noted that although all digits D1 through D14 are changed to use hexadecimal coding, in accordance with these teachings, this has no effect on the previously assigned values of these fields when the fields were originally assigned values using the conventional BCD coding. That is, the same code values can still be used for the previously assigned codes. The use of hexadecimal coding allows more codes to be used for all of the fields, especially the SNR field, which can now encode a total number of mobile station units, associated with a given TAC and FAC, of 2²⁴=16,777,216. With the use of the conventional BCD coding only a maximum of one million units could be represented (10⁶).

[0038] Referring now to FIG. 4, the computation of the check digit (CD) from the improved IMEI proceeds as follows:

[0039] Step 1: Double the values of the odd labeled digits D1, D3, D5, . . . , D13 of the IMEI using the hexadecimal number base.

[0040] Step 2: Add together the individual digits of the seven numbers obtained in Step 1, and then add this sum to the sum of all of the even labeled digits D2, D4, D6, . . . , D14 of the IMEI using the hexadecimal number base.

[0041] Step 3: If the number obtained at the end of Step 2 ends in zero (0), then set the CD to zero (0). If the number obtained at the end of Step 2 does not end in zero (0), then set the CD to be the difference between that number subtracted from the next highest hexadecimal number which does end in zero (0).

[0042]FIG. 5 shows an example of the foregoing three steps applied to an exemplary IMEI having a value of 2605317938D3E3₁₆, where the CD is calculated in Step 3 to be equal to E₁₆.

[0043] Although described in the context of preferred embodiments, it should be realized that a number of modifications to these teachings may occur to one skilled in the art.

[0044] Thus, while the invention has been particularly shown and described with respect to preferred embodiments thereof, it will be understood by those skilled in the art that changes in form and details may be made therein without departing from the scope and spirit of the invention. 

What is claimed is:
 1. A mobile station comprising a memory device for storing an International Mobile Equipment Identity (IMEI) code having at least a six digit hexadecimal Serial Number (SNR) representation, wherein said SNR is used with a hexadecimal check digit calculation procedure so as to insure backwards compatibility with an existing installed base of mobile stations having a Binary Coded Decimal (BCD) SNR representation.
 2. A mobile station as in claim 1 , wherein the check digit calculating procedure is modified so that hexadecimal digits A, B, C, D, E and F are first converted to decimal digits 10, 11, 12, 13, 14 and 15, respectively, and then computing the check bit using an original check bit calculation algorithm (Luhn Algorithm).
 3. A method as in claim 1 , wherein the check digit calculating procedure uses base 16 for all calculations to derive a base 16 check digit.
 4. A method for use with a mobile station of a type that stores a 14 digit International Mobile Equipment Identity (IMEI) code for generating a Check Digit (CD), comprising steps of executing a preliminary step of encoding the 14 digit (D1, D2, D3, . . . , D14) IMEI in a hexadecimal representation; then computing the CD by, (A) doubling the values of the odd digits (D1, D3, D5, . . . , D13) of the IMEI using the hexadecimal number base; (B) adding together the individual digits of the seven numbers obtained in Step A, and adding this sum to the sum of all of the even labeled digits (D2, D4, D6, D14) of the IMEI using the hexadecimal number base; and (C) if the number obtained at the end of Step B ends in zero (0), setting the CD to zero (0), else if the number obtained at the end of Step B does not end in zero (0), setting the CD to be the difference between that number subtracted from the next highest hexadecimal number which does end in zero (0).
 5. A method for use by a wireless communication system that includes a network and a plurality of mobile stations that each store a 14 digit International Mobile Equipment Identity (IMEI) code, the method generating a Check Digit (CD) and comprising steps of: for a first type of mobile stations, executing a preliminary step of encoding the 14 digit (D1, D2, D3, . . . , D14) IMEI in a binary coded decimal (BCD) representation; for a second type of mobile stations, executing a preliminary step of encoding the 14 digit (D1, D2, D3, . . . , D14) IMEI in a hexadecimal representation, then computing the CD in the network, regardless of whether an IMEI is received from the first type of mobile station or from the second type of mobile station, by performing the steps of, (A) doubling the values of the odd digits (D1, D3, D5, . . . D13) of the IMEI using the hexadecimal number base; (B) adding together the individual digits of the seven numbers obtained in Step A, and adding this sum to the sum of all of the even labeled digits (D2, D4, D6, . . . , D14) of the IMEI using the hexadecimal number base; and (C) if the number obtained at the end of Step B ends in zero (0), setting the CD to zero (0), else if the number obtained at the end of Step B does not end in zero (0), setting the CD to be the difference between that number subtracted from the next highest hexadecimal number which does end in zero (0). 